package com.java.comprehensive.design.behavioral_model.state_patten.heima.after;

/**
 * 电梯状态类
 */
public class StoppingState extends LiftState {
    @Override
    public void open() {
        super.context.setLiftState(Context.OPENING_STATE);

        super.context.open();
    }

    @Override
    public void close() {
    }

    @Override
    public void run() {
    }

    @Override
    public void stop() {
        System.out.println("电梯停止。。。");
    }
}
